package com.myapp.util;

public final class Consts {
	// 返回码
	public static final String SUCCESS_CODE = "00000";
	public static final String CHECK_CODE = "00001";
	public static final String ARG_DESCRIBE = "argument.is.illegal";
	public static final String SESSION_LOSE_CODE = "00002";
	public static final String ERROR_CODE = "00003";

	public static final String SUCCESS_DESCRIBE = "success";

	// 手机号段
	public static final String PHONECHECK = "^((13[0-9])|(14[0-9])|(15[0-9])|(17[0-9])|(18[0-9]))\\d{8}$";

	/**
	 * 分页常量
	 * 
	 */
	/** 默认页大小 */
	public static final int PAGE_SIZE = 10;
	/** 默认当前页 */
	public static final int PAGE_CURRENT = 1;
	/** 上送页大小默认名 */
	public static final String PAGE_SIZE_NAME = "pageSize";
	/** 上送当前页默认名 */
	public static final String PAGE_CURRENT_NAME = "current";
	/** 返回列表默认名 */
	public static final String PAGE_LIST = "list";
	/** 返回列表大小默认名 */
	public static final String PAGE_LIST_SIZE = "listSize";

	/**
	 * 错误信息
	 * 
	 */
	public class ErrorMsg {
		/** 业务异常、系统异常 **/
		public static final String MSG00001 = "businesseError";
		/** 请选择银行 **/
		public static final String MSG00002 = "bank.is.null";
		/** 请输入银行卡号 **/
		public static final String MSG00003 = "bankcard.is.null";
		/** 请输入验证码 **/
		public static final String MSG00004 = "captcha.is.null";
		/** 验证码错误 **/
		public static final String MSG00005 = "check.captcha.failed";
		/** 请选择登陆类别 **/
		public static final String MSG00006 = "logintype.is.null";
		/** 该用户已绑定手机 **/
		public static final String MSG00007 = "mobile.is.bound";
		/** 手机号格式错误 **/
		public static final String MSG00008 = "mobile.is.non-standard";
		/** 请输入手机号 **/
		public static final String MSG00009 = "mobile.is.null";
		/** 用户名存在多个邮箱 **/
		public static final String MSG00010 = "multiple.mailboxes.existed";
		/** 请输入新密码 **/
		public static final String MSG00011 = "new.password.is.null";
		/** 旧密码错误 **/
		public static final String MSG00012 = "old.password.is.incorrect";
		/** 请输入旧密码 **/
		public static final String MSG00013 = "old.password.is.null";
		/** 密码必须为6-20位数字或字母 **/
		public static final String MSG00014 = "password.is.non-standard";
		/** 请输入密码 **/
		public static final String MSG00015 = "password.is.null";
		/** 起购金额为1000元 **/
		public static final String MSG00016 = "purchaseAmount.is.less.than.1000.yuan";
		/** 余额获取有误，请刷新页面 **/
		public static final String MSG00017 = "sufficient.funds.is.incorrect";
		/** 邮箱用户请登录e贷网站找回密码 **/
		public static final String MSG00018 = "user.is.email";
		/** 该用户已存在 **/
		public static final String MSG00019 = "user.is.existed";
		/** 请输入用户名 **/
		public static final String MSG00020 = "user.is.null";
		/** 用户名不存在 **/
		public static final String MSG00021 = "user.not.exist";
		/** 该用户没有经过实名认证 **/
		public static final String MSG00022 = "user.not.realNameAuthentication";
		/** 用户名或密码错误 **/
		public static final String MSG00023 = "userOrPassword.is.incorrect";

		/** 版本号为空 **/
		public static final String MSG00024 = "appVersion.is.null";
		/** 版本号不正确 **/
		public static final String MSG00025 = "appVersion.is.incorrect";
		/** 操作系统为空 **/
		public static final String MSG00026 = "osName.is.null";
		/** 操作系统不正确 **/
		public static final String MSG00027 = "osName.is.incorrect";

		/** 该用户未绑定手机号 **/
		public static final String MSG00028 = "mobile.is.non-bound";
		/** 参数非法 **/
		public static final String MSG00029 = "argument.is.invalid";

	}
}
